//
//  NSString+Extensions.h
//  JQKit
//
//  Created by JQZ on 2017/12/27.
//  Copyright © 2017年 JQZ. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (Extensions)

+ (BOOL)isNilOrEmpty:(NSString *)string;
+ (BOOL)isNilOrEmptyOrWhitespace:(NSString *)string;

+ (NSString *)nonNullString:(NSString *)string;
+ (NSString *)nonEmptyStringOrNil:(NSString *)string;
+ (NSString *)nonEmptyTrimmedStringOrNil:(NSString *)string;

- (BOOL)containsString:(NSString *)substring;
- (NSArray *)splitByString:(NSString *)string;

@end
